package com.ruicar.afs.cloud.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruicar.afs.cloud.product.condition.ProductPlanCondition;
import com.ruicar.afs.cloud.product.entity.ProductPlan;
import com.ruicar.afs.cloud.product.vo.ProductPlanVo;
import com.ruicar.afs.cloud.product.vo.ProductPrototypeVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author changyu.gui
 * @version 1.0
 * @date 2020/5/11 20:44
 */
public interface ProductPlanMapper extends BaseMapper<ProductPlan> {

    List<ProductPlanVo> getVueJs(@Param("query") ProductPlanCondition planCondition);

    IPage<ProductPrototypeVo> queryProductPrototypeList(Page page, @Param("query") ProductPlanCondition planCondition);

}
